package com.pwser.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity(name = "T_ORDER")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {
	
	@Id
    private Integer orderId; // 订单id
    
    private Integer orderStatus; // 订单状态 0：未支付，1：已支付，2：订单已取消
    
    private String orderName; // 订单名字
    
    private Date orderDate; // 订单时间
    
}